﻿using System;
using System.Collections.Generic;
using System.Text;
using S7.MODEL;

namespace S7.IDAL
{
    public interface IUserInfo
    {
        object RegUser(UserInfo info);
        bool Login(string account, string password);
        UserInfo GetInfo(string account);
        int Updata(UserInfo newInfo, string account);
        int Delete(string account);
        IList<UserInfo> GetList();
        IList<UserFriendInfo> GetFriends(string account);
    }
}
